package com.cy.pj.sys.dao;

import com.cy.pj.sys.pojo.Sysinformation;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface
SysinformationDao {

    @Select("select * from personal_information where id=#{id}")
    Sysinformation findById(Integer id);

    int insertinformation(Sysinformation information);

    int updateinformation(Sysinformation information);

    @Delete("delete from personal_information where id=#{id}")
    int deleteById( Integer id);


}
